package com.vivien.example.springbootdemo.service.impl;

import com.vivien.example.springbootdemo.pojo.Employee;
import com.vivien.example.springbootdemo.pojo.Logs;
import com.vivien.example.springbootdemo.dao.LogsMapper;
import com.vivien.example.springbootdemo.service.ILogsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 日志表 服务实现类
 * </p>
 *
 * @author vivien
 * @since 2024-12-05
 */
@Service
public class LogsServiceImpl extends ServiceImpl<LogsMapper, Logs> implements ILogsService {

    @Autowired
    private LogsMapper mapper;

    public List<Employee> getAll(){
        return mapper.selAll();
    }
}
